// 模拟数据  菜单栏是通过请求获取的
const menuList = [
  {
    menuId: 1,
    fatherId: 0,
    icon: "el-icon-user-solid",
    name: "OA",
    url: null,
    code: "user",
    sort: 1,
    user: true,
    department: false,
    manage: false,
    admin: false,
    status: {
      name: "display",
      desc: "显示",
    },
    menuList: [
      {
        menuId: 101,
        fatherId: 1,
        icon: null,
        name: "我的学校",
        url: "/admin/user/school/list",
        code: "user_school",
        sort: 1,
        user: true,
        department: false,
        manage: false,
        admin: false,
        status: {
          name: "display",
          desc: "显示",
        },
        menuList: [],
      },
      {
        menuId: 104,
        fatherId: 1,
        icon: null,
        name: "我的数据",
        url: "/admin/user/data/day",
        code: "user_data",
        sort: 8,
        user: true,
        department: false,
        manage: false,
        admin: false,
        status: {
          name: "display",
          desc: "显示",
        },
        menuList: [],
      },
      {
        menuId: 102,
        fatherId: 1,
        icon: null,
        name: "打印PDF",
        url: "/admin/user/print",
        code: "user_index",
        sort: 9,
        user: true,
        department: false,
        manage: false,
        admin: false,
        status: {
          name: "display",
          desc: "显示",
        },
        menuList: [],
      },
    ],
  },
  {
    menuId: 2,
    fatherId: 0,
    icon: "el-icon-s-home",
    name: "分行",
    url: null,
    code: "department",
    sort: 2,
    user: false,
    department: true,
    manage: false,
    admin: false,
    status: {
      name: "display",
      desc: "显示",
    },
    menuList: [
      {
        menuId: 201,
        fatherId: 2,
        icon: null,
        name: "分行学校",
        url: "/admin/department/school/list",
        code: "department_school",
        sort: 1,
        user: false,
        department: true,
        manage: false,
        admin: false,
        status: {
          name: "display",
          desc: "显示",
        },
        menuList: [],
      },
      {
        menuId: 202,
        fatherId: 2,
        icon: null,
        name: "分行成员",
        url: "/admin/department/user/list",
        code: "department_user",
        sort: 2,
        user: false,
        department: true,
        manage: false,
        admin: false,
        status: {
          name: "display",
          desc: "显示",
        },
        menuList: [],
      },
      {
        menuId: 204,
        fatherId: 2,
        icon: null,
        name: "教育局",
        url: "/admin/department/education/list",
        code: "department_education",
        sort: 3,
        user: false,
        department: true,
        manage: false,
        admin: false,
        status: {
          name: "display",
          desc: "显示",
        },
        menuList: [],
      },
      {
        menuId: 203,
        fatherId: 2,
        icon: null,
        name: "支行数据",
        url: "/admin/department/data/day",
        code: "department_data",
        sort: 9,
        user: false,
        department: true,
        manage: false,
        admin: false,
        status: {
          name: "display",
          desc: "显示",
        },
        menuList: [],
      },
    ],
  },

  {
    menuId: 9,
    fatherId: 0,
    icon: "el-icon-setting",
    name: "设置",
    url: null,
    code: "setting",
    sort: 4,
    user: false,
    department: false,
    manage: false,
    admin: true,
    status: {
      name: "display",
      desc: "显示",
    },
    menuList: [
      {
        menuId: 901,
        fatherId: 9,
        icon: null,
        name: "管理员",
        url: "/admin/setting/list",
        code: "setting_manager",
        sort: 0,
        user: false,
        department: false,
        manage: false,
        admin: true,
        status: {
          name: "display",
          desc: "显示",
        },
        menuList: [],
      },
      {
        menuId: 902,
        fatherId: 9,
        icon: null,
        name: "部门管理",
        url: "/admin/setting/department/list",
        code: "setting_department",
        sort: 0,
        user: false,
        department: false,
        manage: false,
        admin: true,
        status: {
          name: "display",
          desc: "显示",
        },
        menuList: [],
      },
      // {
      //   "menuId": 903,
      //   "fatherId": 9,
      //   "icon": null,
      //   "name": "教育局",
      //   "url": "/admin/setting/education/list",
      //   "code": "setting_education",
      //   "sort": 0,
      //   "user": false,
      //   "department": false,
      //   "manage": false,
      //   "admin": true,
      //   "status": {
      //     "name": "display",
      //     "desc": "显示"
      //   },
      //   "menuList": []
      // }
    ],
  },
];
export default {
  menuList,
};
